Skip to main content

exp

Type​

function

Summary​

Returns the natural exponential of a number.

Syntax​

the exp of <number>
exp(<number>)

Description​

Use the exp function to obtain a power of e, e^ number.

The transcendental number e appears in many mathematical formulas.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Parameters​

NameTypeDescription

number

A real number, or an expression that evaluates to a number.

Examples​

exp(1) -- returns e
exp(theReturnedValue)

Value​

NameTypeDescription

return

The exp function returns a positive number.

function: sqrt, exp10, ln, exp2, baseConvert, exp1

glossary: return, math operation

operator: caret

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?